//
//  ZXOtherLoginButton.m
//  XIMaLaYaFM
//
//  Created by fanzhuxian on 2017/8/30.
//  Copyright © 2017年 FanZhuxian. All rights reserved.
//

#import "ZXOtherLoginButton.h"

@implementation ZXOtherLoginButton

- (void)layoutSubviews {
    
    [super layoutSubviews];
    
    // 设置图片的位置
    self.imageView.zx_y = 0;
    self.imageView.zx_centerX = self.zx_width * 0.5;
    
    // 设置标题的位置
    self.titleLabel.zx_y = self.zx_height - self.titleLabel.zx_height - 10;
    [self.titleLabel sizeToFit];
    self.titleLabel.zx_centerX = self.zx_width * 0.5;
    
}

@end
